b75ab4c666f5cb06cae9d92b154e0d9568da0b05,app/src/main/java/dev/dworks/apps/anexplorer/provider/UsbStorageProvider.java,UsbStorageProvider,renameDocument,#String#String#,277
Before Change
file.setName(getFileName(getMimeType(file), displayName));
mFileCache.remove(documentId);
return getDocIdForFile(file);
} catch (IOException e) {
throw new FileNotFoundException(e.getMessage());
After Change
file.setName(getFileName(getMimeType(file), displayName));
mFileCache.remove(documentId);
final String afterDocId = getDocIdForFile(file);
notifyDocumentsChanged(afterDocId);
return afterDocId;
} catch (IOException e) {
throw new FileNotFoundException(e.getMessage());